<%= form_tag passwords_path, method: 'POST' do %>
  <table>
    <tr>
      <td>
        <%= label_tag :login_name %>
        <%= text_field_tag :login_name %>
      </td>
    </tr>
    <tr>
      <td>
        <%= label_tag '密码' %>
        <%= password_field_tag :password %>
      </td>
    </tr>
    <tr>
      <td>
        <%= label_tag '确认密码' %>
        <%= password_field_tag :password_confirmation %>
      </td>
    </tr>
  </table>
  <%= submit_tag '注册' %>
<% end %>
